package com.zretc.support.entity;

/**
 *
 */
public class ScoreToPart {
    private Long examId;
    private String examName;
    private double avg;
    private double max;
    private double min;

    public ScoreToPart() {
    }

    public Long getExamId() {
        return examId;
    }

    public void setExamId(Long examId) {
        this.examId = examId;
    }

    public String getExamName() {
        return examName;
    }

    public void setExamName(String examName) {
        this.examName = examName;
    }

    public double getAvg() {
        return avg;
    }

    public void setAvg(double avg) {
        this.avg = avg;
    }

    public double getMax() {
        return max;
    }

    public void setMax(double max) {
        this.max = max;
    }

    public double getMin() {
        return min;
    }

    public void setMin(double min) {
        this.min = min;
    }

    @Override
    public String toString() {
        return "ScoreToPart{" +
                "examId=" + examId +
                ", examName='" + examName + '\'' +
                ", avg=" + avg +
                ", max=" + max +
                ", min=" + min +
                '}';
    }

    public ScoreToPart(Long examId, String examName, double avg, double max, double min) {
        this.examId = examId;
        this.examName = examName;
        this.avg = avg;
        this.max = max;
        this.min = min;
    }
}
